Will Dependency Conflicts Affect My Program's Semantics?

نویسندگان

چکیده

Java projects are often built on top of various third-party libraries. If multiple versions a library exist the classpath, JVM will only load one version and shadow others, which we refer to as dependency conflicts . This would give rise semantic conflict (SC) issues, if APIs referenced by project have identical method signatures but inconsistent semantics across loaded shadowed SC issues difficult for developers diagnose in practice, since understanding them typically requires domain knowledge. Although adapting existing test generation technique dependency conflict Riddle , detect is feasible, its effectiveness greatly compromised. mainly because randomly generates inputs, while require specific arguments tests be exposed. To address that, conducted an empirical study 316 real understand characteristics such cases that can capture issues. Inspired our findings, propose automated testing Sensor synthesizes using ingredients from under trigger behaviors with same conflicting versions. Our evaluation results show effective useful: it achieved $Precision$ 0.898 notation="LaTeX">$Recall$ 0.725 open-source 0.821 industrial projects; detected 306 semantic 50 projects, 70.4 percent had been confirmed bugs, 84.2 fixed quickly.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Who will perform my autopsy?

Autopsy and Case Reports. ISSN 2236-1960. Copyright © 2014. This is an Open Access article distributed of terms of the Creative Commons Attribution Non-Commercial License which permits unrestricted noncommercial use, distribution, and reproduction in any medium provided article is properly cited. “My friend was ill, I cared for him; he died, I dissected him.” Ascribed to various French physicians

متن کامل

Will my Ontologies Fit Together?

In realistic applications, it is often desirable to integrate different ontologies into a single, reconciled ontology. Ideally, one would expect the individual ontologies to be developed as independently as possible, and the final reconciliation to be seamless and free from unexpected results. This allows for the modular design of large ontologies and facilitates knowledge reuse tasks. Few onto...

متن کامل

My Agent Will Call Your Agent... But Will It Respond?

As Web based E-commerce and component software become more real, interest in software agents has increased. Agents can be viewed as specialized distributed components, offering greater flexibility than traditional components when developing certain applications. Different kinds of agents have different amounts of personality, mobility, interaction, collaboration, persistence and intelligence. T...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: IEEE Transactions on Software Engineering

سال: 2022

ISSN: ['0098-5589', '1939-3520', '2326-3881']

DOI: https://doi.org/10.1109/tse.2021.3057767